package com.itcast.trade.bulls.stock.user.startup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Description: </p>
 * @date 2019/12/12
 * @author 贺锟 
 * @version 1.0
 * @name  Mirson
 * <p>Copyright:Copyright(c)2019</p>
 */
@SpringBootApplication
@RestController
public class BullsStockUserApplication {


    public static void main(String[] args) {
        SpringApplication.run(BullsStockUserApplication.class, args);
    }

    /**
     * 提供访问测试接口， 支持POST和GET
     * @return
     */
    @RequestMapping("/welcome")
    public String welcome() {
        return "welcome bulls stock platform! ";
    }
}
